﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BitTreeMarket.Model
{
    public partial class GenUser
    {
        public GenUser()
        {
            this.PickUpOrders = new HashSet<PickUpOrder>();
            this.Ratings = new HashSet<Rating>();
        }

        public int GenUserId { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Country { get; set; }
        public string State { get; set; }
        public string City { get; set; }
        public string Zipcode { get; set; }
        public string BitAddress { get; set; }
        public byte[] Image { get; set; }
        public string UserName { get; set; }
        public string Password { get; set; }
        public Nullable<int> RoleId { get; set; }

        public virtual Role Role { get; set; }
        public virtual ICollection<PickUpOrder> PickUpOrders { get; set; }
        public virtual ICollection<Rating> Ratings { get; set; }
    }
}
